package com.my.structuraltype.decorator;

public abstract class Decorator implements Component {
	
	private Component component;
	
	public Decorator(Component component) {
		super();
		this.component = component;
	}

	@Override
	public void doSomething() {
		component.doSomething();
	}

}
